﻿using System;
using System.Drawing;
using System.Threading;
namespace Sample
{
    class Program
    {
        
        [STAThread]
        static void Main()
        {
            Thread ThreadSharpDX = new Thread(() => { new SharpDXSample().Run(); });
            ThreadSharpDX.IsBackground = true;
            ThreadSharpDX.Start();
            
            Thread ThreadSlimDX = new Thread(() => {new SlimDXSample().Run(); });
            ThreadSlimDX.IsBackground = true;
            ThreadSlimDX.Start();

            ThreadSlimDX.Join();
            ThreadSharpDX.Join();
        }
    }
}
